<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-goodsInfo-edit">
            <input id="id" name="id" th:value="${goodsInfo.id}"  type="hidden">
            <div class="form-group">	
                <label class="col-sm-3 control-label">商品名称：</label>
                <div class="col-sm-8">
                    <input id="name" name="name" th:value="${goodsInfo.name}" class="form-control" type="text">
                </div>
            </div>  
            <div class="form-group">	
                <label class="col-sm-3 control-label">描述：</label>
                <div class="col-sm-8">
                    <input id="goodsDescribe" name="goodsDescribe" th:value="${goodsInfo.goodsDescribe}" class="form-control" type="text">
                </div>
            </div>  
            <div class="form-group">	
                <label class="col-sm-3 control-label">图片：</label>
                <div class="col-sm-8">
                    <input id="image" name="image" th:value="${goodsInfo.image}" class="form-control" type="text">
                </div>
            </div>  
            <div class="form-group">	
                <label class="col-sm-3 control-label">状态：是否上架：</label>
                <div class="col-sm-8">
                    <input id="state" name="state" th:value="${goodsInfo.state}" class="form-control" type="text">
                </div>
            </div>  
            <div class="form-group">	
                <label class="col-sm-3 control-label">是否推荐：</label>
                <div class="col-sm-8">
                    <input id="recommend" name="recommend" th:value="${goodsInfo.recommend}" class="form-control" type="text">
                </div>
            </div>  
            <div class="form-group">	
                <label class="col-sm-3 control-label">是否使用定额优惠券：</label>
                <div class="col-sm-8">
                    <input id="useQuotaCoupon" name="useQuotaCoupon" th:value="${goodsInfo.useQuotaCoupon}" class="form-control" type="text">
                </div>
            </div>  
            <div class="form-group">	
                <label class="col-sm-3 control-label">是否使用非定额优惠券：</label>
                <div class="col-sm-8">
                    <input id="useNonQuotaCoupon" name="useNonQuotaCoupon" th:value="${goodsInfo.useNonQuotaCoupon}" class="form-control" type="text">
                </div>
            </div>  
            <div class="form-group">	
                <label class="col-sm-3 control-label">是否使用积分：</label>
                <div class="col-sm-8">
                    <input id="usePoint" name="usePoint" th:value="${goodsInfo.usePoint}" class="form-control" type="text">
                </div>
            </div>  
            <div class="form-group">	
                <label class="col-sm-3 control-label">排序：</label>
                <div class="col-sm-8">
                    <input id="sortNo" name="sortNo" th:value="${goodsInfo.sortNo}" class="form-control" type="text">
                </div>
            </div>  
            <div class="form-group">	
                <label class="col-sm-3 control-label">描述：</label>
                <div class="col-sm-8">
                    <input id="content" name="content" th:value="${goodsInfo.content}" class="form-control" type="text">
                </div>
            </div>  
			<div class="form-group">
				<div class="form-control-static col-sm-offset-9">
					<button type="submit" class="btn btn-primary">提交</button>
					<button th:onclick="'javascript:layer_close()'" class="btn btn-danger" type="button">关闭</button>
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
	<script th:src="@{/eagledata/business/goodsInfo/edit.js}"></script>
    </body>
</html>
